Skip to content

Conversation

@jo
Copy link

@jo jo commented Sep 16, 2013

The changes adds the ability to parse basic Skrollr Stylesheets.

It allows numerical keyframes-selectors and easing function syntax, eg:

@-skrollr-keyframes one {
    top {
        left: 100%;
        opacity[swing]: 0.0;
    }
    100 {
        left: 10%;
        opacity: 0.5;
    }
    bottom {
        left: 0%;
        opacity: 1.0;
    }
}
  • numerical keyframes-selectors
  • top, bottom keyframes-selectors
  • easing function syntax

@tj
Copy link
Member

tj commented Sep 16, 2013

I don't really want to make up syntax at the css-parse level

@jo
Copy link
Author

jo commented Sep 16, 2013

I was kind of doubtfully, too, but I think its just about relaxing the parser a bit.

@tj
Copy link
Member

tj commented Sep 16, 2013

yeah could be worse haha, a few tests would be good

Support Skrollr Stylesheets, allow
* numerical keyframes-selectors
* generic alphanumeric keyframes-selectors (`top`)
* propertys with `[word]`
@jo
Copy link
Author

jo commented Sep 16, 2013

ok I squashed the commits and added some tests

@tj
Copy link
Member

tj commented Sep 17, 2013

awesome! thanks

tj added a commit that referenced this pull request Sep 17, 2013
Relax keyframe selectors
@tj tj merged commit b3042ce into reworkcss:master Sep 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants